home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / tabvie.zip / MAINVIEW.H < prev    next >
C/C++ Source or Header  |  1994-03-20  |  921b  |  43 lines

  1. // ordview.h : interface of the CMainView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #ifndef TABVIEW_H
  5. #include "tabview.h"
  6. #endif
  7.  
  8. class CMainView : public CTabView
  9. {
  10. protected: // create from serialization only
  11.     CMainView();
  12.     DECLARE_DYNCREATE(CMainView)
  13.  
  14. // Attributes
  15. public:
  16.     CTabDoc* GetDocument();
  17.  
  18. // Operations
  19. public:
  20.  
  21. // Implementation
  22. public:
  23.     virtual ~CMainView();
  24.     virtual void OnInitialUpdate();
  25. #ifdef _DEBUG
  26.     virtual void AssertValid() const;
  27.     virtual void Dump(CDumpContext& dc) const;
  28. #endif
  29.  
  30. // Generated message map functions
  31. protected:
  32.     //{{AFX_MSG(CMainView)
  33.     //}}AFX_MSG
  34.     DECLARE_MESSAGE_MAP()
  35. };
  36.  
  37. #ifndef _DEBUG    // debug version in mainview.cpp
  38. inline CTabDoc* CMainView::GetDocument()
  39.    { return (CTabDoc*) m_pDocument; }
  40. #endif
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43.